import nativeProps from "@/uni_modules/pure-input/components/pure-input/native-props.js";

export default {
    ...nativeProps,

    // ModelValue
    modelValue: {
        type: [Number, String],
        default: undefined,
    },

    // 搜索框占位符
    placeholder: {
        type: [String, Array],
        default: "",
    },

    // 占位符class
    placeholderClass: {
        type: String,
        default: "",
    },

    // 搜索图标
    searchIcon: {
        type: String,
        default: "__sousuo_2",
    },

    // 获取焦点时的class
    focusClass: {
        type: String,
        default: "",
    },

    // 显示搜索按钮
    showBtn: {
        type: Boolean,
        default: false,
    },

    // 搜索按钮文字
    btnText: {
        type: String,
        default: "搜索",
    },

    // 按钮的hover-class
    btnHoverClass: {
        type: String,
        default: "pure-hover",
    },
};
